package com.wandian.news.adapter;

import android.widget.TextView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.wandian.news.R;


/**
 * @author Administrator
 * @date 2019/12/16-13:32
 * @description 适配器
 **/
public class NewsKnowledgeRecycleAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    public NewsKnowledgeRecycleAdapter(int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        TextView tv_item_text = helper.getView(R.id.tv_item_text);
        tv_item_text.setText(item+"");
    }


}
